package com.smart.coupon.template.service.impl;

import com.smart.coupon.template.dto.CouponDTO;
import com.smart.coupon.template.mapper.CouponMapper;
import com.smart.coupon.template.service.CouponService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CouponServiceImpl implements CouponService {
    @Resource
    private CouponMapper couponMapper;

    @Override
    public List<CouponDTO> getCouponList(Long memberId) {
        return couponMapper.selectMemberCouponList(memberId);
    }
}
